package com.rc.evcharger.model.rc;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcEnterpriseGainGradeRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RcEnterpriseGainGradeRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andEnterpriseGainGradeRecordIdIsNull() {
            addCriterion("enterprise_gain_grade_record_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdIsNotNull() {
            addCriterion("enterprise_gain_grade_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdEqualTo(Long value) {
            addCriterion("enterprise_gain_grade_record_id =", value, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdNotEqualTo(Long value) {
            addCriterion("enterprise_gain_grade_record_id <>", value, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdGreaterThan(Long value) {
            addCriterion("enterprise_gain_grade_record_id >", value, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_gain_grade_record_id >=", value, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdLessThan(Long value) {
            addCriterion("enterprise_gain_grade_record_id <", value, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_gain_grade_record_id <=", value, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdIn(List<Long> values) {
            addCriterion("enterprise_gain_grade_record_id in", values, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdNotIn(List<Long> values) {
            addCriterion("enterprise_gain_grade_record_id not in", values, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_gain_grade_record_id between", value1, value2, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainGradeRecordIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_gain_grade_record_id not between", value1, value2, "enterpriseGainGradeRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdIsNull() {
            addCriterion("enterprise_gain_record_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdIsNotNull() {
            addCriterion("enterprise_gain_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdEqualTo(Long value) {
            addCriterion("enterprise_gain_record_id =", value, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdNotEqualTo(Long value) {
            addCriterion("enterprise_gain_record_id <>", value, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdGreaterThan(Long value) {
            addCriterion("enterprise_gain_record_id >", value, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_gain_record_id >=", value, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdLessThan(Long value) {
            addCriterion("enterprise_gain_record_id <", value, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_gain_record_id <=", value, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdIn(List<Long> values) {
            addCriterion("enterprise_gain_record_id in", values, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdNotIn(List<Long> values) {
            addCriterion("enterprise_gain_record_id not in", values, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_gain_record_id between", value1, value2, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainRecordIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_gain_record_id not between", value1, value2, "enterpriseGainRecordId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdIsNull() {
            addCriterion("enterprise_gain_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdIsNotNull() {
            addCriterion("enterprise_gain_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdEqualTo(Long value) {
            addCriterion("enterprise_gain_id =", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdNotEqualTo(Long value) {
            addCriterion("enterprise_gain_id <>", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdGreaterThan(Long value) {
            addCriterion("enterprise_gain_id >", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_gain_id >=", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdLessThan(Long value) {
            addCriterion("enterprise_gain_id <", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_gain_id <=", value, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdIn(List<Long> values) {
            addCriterion("enterprise_gain_id in", values, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdNotIn(List<Long> values) {
            addCriterion("enterprise_gain_id not in", values, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_gain_id between", value1, value2, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGainIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_gain_id not between", value1, value2, "enterpriseGainId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(Long value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(Long value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(Long value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(Long value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<Long> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<Long> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountIsNull() {
            addCriterion("recharge_amount is null");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountIsNotNull() {
            addCriterion("recharge_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountEqualTo(BigDecimal value) {
            addCriterion("recharge_amount =", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountNotEqualTo(BigDecimal value) {
            addCriterion("recharge_amount <>", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountGreaterThan(BigDecimal value) {
            addCriterion("recharge_amount >", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_amount >=", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountLessThan(BigDecimal value) {
            addCriterion("recharge_amount <", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_amount <=", value, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountIn(List<BigDecimal> values) {
            addCriterion("recharge_amount in", values, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountNotIn(List<BigDecimal> values) {
            addCriterion("recharge_amount not in", values, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_amount between", value1, value2, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andRechargeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_amount not between", value1, value2, "rechargeAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNull() {
            addCriterion("discount_amount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNotNull() {
            addCriterion("discount_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountEqualTo(BigDecimal value) {
            addCriterion("discount_amount =", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotEqualTo(BigDecimal value) {
            addCriterion("discount_amount <>", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThan(BigDecimal value) {
            addCriterion("discount_amount >", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount >=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThan(BigDecimal value) {
            addCriterion("discount_amount <", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount <=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIn(List<BigDecimal> values) {
            addCriterion("discount_amount in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotIn(List<BigDecimal> values) {
            addCriterion("discount_amount not in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount not between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andGainLogoIsNull() {
            addCriterion("gain_logo is null");
            return (Criteria) this;
        }

        public Criteria andGainLogoIsNotNull() {
            addCriterion("gain_logo is not null");
            return (Criteria) this;
        }

        public Criteria andGainLogoEqualTo(String value) {
            addCriterion("gain_logo =", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotEqualTo(String value) {
            addCriterion("gain_logo <>", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoGreaterThan(String value) {
            addCriterion("gain_logo >", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoGreaterThanOrEqualTo(String value) {
            addCriterion("gain_logo >=", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLessThan(String value) {
            addCriterion("gain_logo <", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLessThanOrEqualTo(String value) {
            addCriterion("gain_logo <=", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoLike(String value) {
            addCriterion("gain_logo like", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotLike(String value) {
            addCriterion("gain_logo not like", value, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoIn(List<String> values) {
            addCriterion("gain_logo in", values, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotIn(List<String> values) {
            addCriterion("gain_logo not in", values, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoBetween(String value1, String value2) {
            addCriterion("gain_logo between", value1, value2, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andGainLogoNotBetween(String value1, String value2) {
            addCriterion("gain_logo not between", value1, value2, "gainLogo");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}